package conson.tech.manage.merchant.entity.from;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotNull;
import java.io.Serializable;

/**
 * ClassName: PageVo
 * Description: 分页VO
 * Author: HXL
 * Date: 2020/3/11 5:27 下午
 * Version: 1.0
 */
@Data
@ApiModel("PageFrom")
public class PageFrom implements Serializable {
    private static final long serialVersionUID = 3367561400757055224L;
    @ApiModelProperty(value = "当前页",example = "当前页")
    @NotNull(message = "当前页不能为空")
    private Integer pageIndex;
    @ApiModelProperty(value = "每页数量",example = "每页数量")
    @NotNull(message = "每页数量不能为空")
    private Integer pageSize;
}
